support upload of non utf8/ascii files