packaged up path handling on windows to make it a *little* more clean