Allow for an empty data array.

Sometimes you have no data, but you can still generate a CSV that would be the column headers.