Delete unwanted whitespace at the end of lines.