I don't think that this belongs in the os module, I think that it should belong in some method of `Path` somewhere. That being said, I shouldn't leave this as an XXX, I should open an issue about it instead.