def stream
      io = Tempfile.new('ruby-ipfs')
      begin
        @block.call io
      ensure
        io.close
      end
      File.open(io.path, 'r')
    end
def stream
      io = Tempfile.new('ruby-ipfs')
      begin
        @block.call io
      ensure
        io.close
      end
      File.open(io.path, 'r')
    end
:nodoc: