Remove trailing spaces at end of lines