A little odd that this changed, it looks like it "correctly handled things" before in that a `Path` was returned instead of a `~str`, is there a reason that the previous code isn't sufficient?