Initialize stream at the beginning, so we can always return it, regardless of multipart or callback mode.