fixes an issue with csv unicode encoding