* Fixed line length bug.
* Use windows newlines so that CSV files maintain formatting in Excel.