Remove end-of-line whitespace.

The license header is left untouched, to keep it the same in all files.
A seperate commit will probably deal with this