try tweaking the encode_files for unicode