Fixes encoding error while generating survey CSV report