Some calls to SplFileInfo translate errors to RuntimeExceptions

This could be pulled in without the test.
However the test will fail because no warnings are thrown (See #2999)

This tries to fix zend/bad/ext/spl/tests/DirectoryIterator_getInode_error.php

e: The test will succeed with the diff from #2999 but with the diff `quick/is_dir.php` fails for example.
If the called function raises a warning, we'll wind up in the error handler below which throws an exception without restoring the error handler, and therefor all future warnings become exceptions.

Much worse though, is if we happen to be dealing with a user-defined streams wrapper.  In this path, we have abitrary code (some of which may raise warnings/notices or even throw exceptions) causing us to bail out in unexpected ways.

The first problem could be addressed with a try { } finally {} to force the error handler to be restored, but the latter problem changes behavior badly.

Much as I like the elegance of warning to exception conversion, I don't think it'll work as is.