Fixes encoding error while generating the survey CSV report