Fix bug in cbr_wrapper.  It should create a new StdIO object using the old object as a template, then replace elements in that new one so it doesn't permanently affect the one passed by the user.
Fix bug in cbr_wrapper.  It should create a new StdIO object using the old object as a template, then replace elements in that new one so it doesn't permanently affect the one passed by the user.

sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata