code: def temporary_file_path(root_dir=None, cleanup=True, suffix='', permissions=None):
    
    with temporary_file(root_dir, cleanup=cleanup, suffix=suffix, permissions=permissions) as fd:
      fd.close()
      yield fd.name
docs: A with-context that creates a temporary file and returns its path.
  
      :API: public
  
      You may specify the following keyword args:
      :param str root_dir: The parent directory to create the temporary file.
      :param bool cleanup: Whether or not to clean up the temporary file.