HDFS-5343. When cat command is issued on snapshot files, getting unexpected result. Contributed by Sathish.