when I try: Tempfile.open("foo") do |file| file.write Vfs::Entry.new(driver, "/path").dir[file_name].read end I got this error: "\xD0" from ASCII-8BIT to UTF-8 maybe there is another way to copy s3 file to a local file...