docs: def rm_r(sftp, path):
      """Recursively delete contents of path
      https://stackoverflow.com/a/23256181
      """
      files = sftp.listdir(path)
      for f in files:
          filepath = os.path.join(path, f)
          logger.info('Deleting: %s' % (filepath))
          try:
              sftp.remove(filepath)
          except IOError:
              rm_r(sftp, filepath)