title: apache-commons-csv println method doesn't print newline in output
body: <p>I'm new to apache-commons-csv 1.6</p>
  
  <p>I have a basic requirement to print csv file with every record in new line. Am trying to use CSVPrinter's println method. For some weird reason, the output file doesn't have any newline character. Everything is printed in one single line.</p>
  
  <p>I have tried to open the output in Notepad++ and show the non-printable characters. There is no character between the records. Any help would be appreciated greatly. Thanks.</p>
  
  <pre><code>CSVPrinter csvPrinter = null;
  
  if(delimiter != null &amp;&amp; delimiter.length() &gt; 0) {
      csvPrinter = new CSVPrinter(new FileWriter(outputFile), CSVFormat.newFormat(delimiter.charAt(0)).withHeader(header));
  }else {
      csvPrinter = new CSVPrinter(new FileWriter(outputFile), CSVFormat.DEFAULT.withHeader(header));
  }
  
  for(Map&lt;String,String&gt; record : inputList) {
      List&lt;String&gt; valueList = new ArrayList&lt;String&gt;();
      for(String key : record.keySet()) {
          valueList.add(record.get(key));
      }
      System.out.println(valueList);
      csvPrinter.printRecord(valueList);
      csvPrinter.println();
  }
  csvPrinter.close();
  </code></pre>
  
  <p>Expected result:</p>
  
  <p>id|type|value|key</p>
  
  <p>4|excel|0|excel.sheet.no</p>
  
  <p>5|excel|dd/MM/yyyy|excel.date.format</p>
  
  <p>6|excel|0|excel.baserate.rownum</p>
  
  <p>Actual result:
  id|type|value|key4|excel|0|excel.sheet.no5|excel|dd/MM/yyyy|excel.date.format6|excel|0|excel.baserate.rownum</p>