We set cache_path in ldb_filecache_init. We ought to store it and reuse it here