cache_path function

Return the file path where the cache is stored, if applicable.