This should be a strict check (===) against false (http://es2.php.net/manual/en/function.file-put-contents.php)