Support writing to CSV. Also correct parsing of escaped double quotes in strings in tokenize.js