Remove whitespace at the end of lines