Hack around with pre-growing the bytes.Buffer.