The CSV Connector ends the header line with < CR > instead of < CR >< LF > on writing a .csv file.
This is a product defect. There are two different hotfixes which address this issue in different versions of the product: 30288 abd 31556.
This will be fixed on a future release of the product. If you require this immediately corrected, please contact Support for a hotfix referencing the defect ID 30288 for version 7.1.4, 8.0.0, or 8.0.1. Reference defect ID 31556 for Identity Manager version 8.0.2, 8.0.3, and 8.1.0.