Add CSV headers to output files

Closes #22.