Updated to use file_cache_path instead of /tmp