Good catch!

Any reason why we have newKryoOutput here but not newKryoInput? Maybe we can include that rationale in comment so we don't get confused in the future.  Otherwise, LGTM.