Serialize MultiPartTypedOutput parts to byte[]s so length is available.