Escape commas in header rows

We need to make sure that commas in header rows of the CSV are escaped. 

I created the `escapeCommas` function because I assume that, since it's so simple, it will be inlined and therefore not have a significant performance impact. I haven't tested this assumption.