see php.net/fopen
Just go through the codebase and make sure we prefix with @ and check the return code for false.
(In [4838]) Fixes #2449 - removed all "user facing" fopen (left the one that could be useful such as during auto update & translation file writing)