Fixed permissions issues in the CSS cache file generation

E.g. when running under suPHP, the permissions are not set correctly for the generated cache files.