fix(render): write content length in Data.Render (#4206)