allow an IO object to be passed into StreamOutput class