Fixed the exporter to use CRLF as newline character