docs: def _makedirs(path):
      """
      Create a base directory of the provided path and return None.
  
      :param path: A string containing a path to be deconstructed and basedir
       created.
      :return: None
      """
      dirname, _ = os.path.split(path)
      try:
          os.makedirs(dirname)
      except OSError as exc:
          if exc.errno == errno.EEXIST:
              pass
          else:
              raise