modules: properly set file_cache_dir