Modified csv writer to use excel-tab dialect