Fixing path._makeLong to have consistent behavior across platforms

On windows functions that depend on path._makeLong (like readdir) resolve relative paths.  This PR updates the_makeLong export to have consistent behavior.