Remove some whitespace on the end of lines.