rename function to make it more clear it's only used in exports
fix encoding issue for table headers on export
Merge pull request #2878 from dimagi/export-custom

fix export header bug with custom reports and unicode