Fix excess buffer->strbuf replacement