Added normalize EOL to LF function.