Force UTF-8 encoding for CSV exports

* Fixes for export_daily_problems.
* Updates for tests