Make sure error output won't prevent redirecting user to installer

Having error reporting enabled causes PHP to output a warning if the settings.php is missing. The output prevents PHP from redirecting user to the installer. This commit makes sure that the possible warning is suppressed.
I'd rather check is_file and is_readable. If settings.php has an error I'd want to see it.