UTF8 encode for the csv writer.