Pre-allocate 255 bytes, not 256, in buildPath()

...as recommended by @monarchdodra.