updated csv_generator.py. Unicode causing error