Add a header row to the exported CSV files, refs #282.

I've been unclear on this one, sorry @graydon!