HDFS-7078. Fix listEZs to work correctly with snapshots. (wang)