Use of a different SplFile method to retrieve filepath in Entities Loader

This is a fix for virtual disks systems (phar)