def utf_8_encoder(unicode_csv_data):
    """
    Work around for csv module's utf-8 issues.

    See: https://docs.python.org/2.7/library/csv.html
    """
    for line in unicode_csv_data:
        yield line.encode('utf-8')
