fix non-utf8 error in csv