implement better handling of calling findFile() on the class loader

partial fix for #11 to improve the error handling
the actual fix is https://github.com/symfony/symfony/pull/7168