Fix CSV export not encoded using UTF-8