Convert NS \ to the correct path separator