newline: fix CRLF handling