write header line for CSV

Implemented TODO from code (write this line to outfile for csv)