Fixup constant name for docs
fix issue with stack -> heap growable strings

Whoops; we weren't copying the original buffer over when we were
doing our initial allocation.

This meant that we'd end up with random string contents if the
string was non-zero in length prior to the append that put us
over the stack allocation size.