pub fn key_to_path(key: &str, root: Option<&Path>) -> Result<PathBuf>
Convert a cache key to its storage path