Correct printing of header row in CSV export file.
Merge branch 'indar'