Fix chunked encoding.