code: def _open_tmpfile(self, **kwargs):
          
          self.tmpfile = get_tempfile(**kwargs)
          path = self.tmpfile.name
          return path
docs: Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.
          Leave it open, assign file handle to self.tmpfile
  
          **kwargs are passed to tempfile.NamedTemporaryFile