Cleanup newlines to LF. Remvoe whitespaces at EOL.