This allocates a buffer on the GC heap only to immediately throw it away. Let's not unnecessarily produce GC garbage.

The issue seems to be that `buildPath` does not have an overload taking an arbitrary range of strings, instead only offering a typesafe-variadic version.