--- engines/file.php	2010-01-05 22:51:10.000000000 +0600
+++ engines/file.php.fixed	2010-01-05 22:25:12.000000000 +0600
@@ -99,7 +99,7 @@ class fileCache extends Cache {
           flock($fp, LOCK_UN);
         }
         fclose($fp);
-        @chmod(0664, $file); // Necessary for non-webserver users.
+        @chmod($file, 0664); // Necessary for non-webserver users.  
       }
       else {
         // t() may not be loaded
