Remove trailing spaces in other file types too