docs: def stat(path, format):
      """Call stat on file
  
      :param path: HDFS Path
      :param format: Stat format
      :returns: Stat output
      :raises: IOError: If unsuccessful
      """
      cmd = "hadoop fs -stat %s %s" % (format, path)
      rcode, stdout, stderr = _checked_hadoop_fs_command(cmd)
      return stdout.rstrip()