ok, bytes.Buffer doesnt really throw errors, so lets panic when it does.