support for filename with non-ascii letters

this quick patch prevents Item/File.download() from breaking due to non-ascii letters in filename.