Fix for Windows platforms.
The previous code was returning empty string for valid windows phar path(ex: 'phar://D:/GDrive/zs-client.phar/module/Client/autoload_classmap.php')