Add error message if cache file does not exist
Resolve Warning: filemtime(): stat if cache file does not exist
Add is_writable checks for the cache directory