Change default cache file creation mode to 0777