docs: def dumpf(obj, path):
      """
      Write an nginx configuration to file.
  
      :param obj obj: nginx object (Conf, Server, Container)
      :param str path: path to nginx configuration on disk
      :returns: path the configuration was written to
      """
      with open(path, 'w') as f:
          dump(obj, f)
      return path