Create the file of all names as a file instead of a directory.
Merge branch 'hbase-11339' of https://github.com/JingchengDu/hbase into hbase-11339