Remove trailing spaces in code files