Fixed KairosDatastore to property configure the cache_dir.