Crlf eol

Fix for streams with \r\n EOLs