Is it possible to do this more cleanly with `Pathname` or does that suck at windows?