Why is this returning a path with `\\`? This is windows-specific right? Can this be abstracted so it works regardless of the OS platform?