improved csv to account for non utf8