Clean up EOL and EOF whitespace.