as efficient as working with strings, since that's what most of `Pathname` does anyways.