Update mapper.php

explode('/', $path) doesn't work correctly on windows when slashes and backslashes are mixed i path.