supports RegionFile and RegionDir. fixed errors on NbtMapStore