we left a binaryoutputstream open.  I'm not sure how important this is, but unclosed resources is unclosed resources.
Review to make sure I didn't nub it, but this should be fine.