remove whitespace at ends of lines to simplify diffs.