add IsDir info in the returned CatFileStatus