org.apache.hadoop.fs.Path is memory inefficient. Internally we should avoid using Path for caching file listings.