docs: def mkdir_p(sftp, path):
      """Create remote path including parent directories if needed
      https://stackoverflow.com/a/14819803
      """
      try:
          sftp.chdir(path)
      except IOError:
          dirname, basename = os.path.split(path.rstrip('/'))
          mkdir_p(sftp, dirname)
          sftp.mkdir(basename)
          sftp.chdir(basename)
          return True