Nonequilibrium dynamics of the anyonic Tonks-Girardeau gas at finite temperature