Fix bug for HdfsSnapshot to take newest snapshot file