contao/core — pull request #4827 by DyaGa (2012-09-18 12:50:31+00:00)
Title: Use fwrite instead of fputs and taking into account of the function result

According to PHP manual function `fputs` is an alias of `fwrite` ([link](http://www.php.net/manual/en/function.fputs.php)) and also `fwrite` return `false` in case of error ([link](http://www.php.net/manual/en/function.fwrite.php))