Update FileLoader to fix issue #10339

FileLoader now uses resolved FileLoader's (the one that explicitly supports that resource) FileLocatorInterface instance before falling back to its own when trying to load resources in import() method.