Fixed an issue which caused dump tile cache to not work.