Improved compatibility of mkdirpSync

This fix addresses an issue with Mac OS X 10.9.5 and the new mkdirpSync util. It was prepending an extra slash to paths (i.e. //git/path/to/folder) which was causing write failures.