Remove trailing whitespace from source code