Make sure that cache directory exists