Fix UnicodeEncodeError in csv export: Bug 1044094

Even if instantiating an empty list and performing iterative mutations on it is 'more readable', and the performance benefits of the list comprehension are negligible in this case due to the small size of the data, I would still prefer not to make that change unless you have a strong objection.