fn cache_file_name( base_dir: PathBuf, hash: &PluginHash, create_dir: bool, ) -> Result<PathBuf, Error>