docs: def mkdir(name, mode=0o750):
      """Implementation of ``mkdir -p``: Creates folder with the given `name` and
      the given permissions (`mode`)
  
      * Create missing parents folder
      * Do nothing if the folder with the given `name` already exists
      * Raise `OSError` if there is already a file with the given `name`
      """
      if os.path.isdir(name):
          pass
      elif os.path.isfile(name):
          raise OSError("A file with the same name as the desired " \
                        "dir, '%s', already exists." % name)
      else:
          os.makedirs(name, mode)