def with_tmp_zip_file
      file = Tempfile.new('retrieve')
      begin
        file.binmode
        file.write(zip_file)
        file.rewind
        yield file
      ensure
        file.close
        file.unlink
      end
    end
def with_tmp_zip_file
      file = Tempfile.new('retrieve')
      begin
        file.binmode
        file.write(zip_file)
        file.rewind
        yield file
      ensure
        file.close
        file.unlink
      end
    end
Internal: Writes the zip file content to a temporary location so it can
 be extracted.