hdfs fileStatus and isDirectory