unc path convert for MacOSX,Windows compatible