code: def save(self, name):
          
          with open(name, 'wb+') as f:
              while True:
                  buf = self._fileobj.read()
                  if not buf:
                      break
                  f.write(buf)
docs: Saves the entire Docker context tarball to a separate file.
  
          :param name: File path to save the tarball into.
          :type name: unicode | str