def start_batch():
    batch_file = io.BytesIO()
    writer = unicodecsv.writer(batch_file)
    writer.writerow(columns)
    batch_ids = []
    return (batch_file, writer, batch_ids)
def start_batch():
    batch_file = io.BytesIO()
    writer = unicodecsv.writer(batch_file)
    writer.writerow(columns)
    batch_ids = []
    return (batch_file, writer, batch_ids)