fix file cache adapter.