Force a stream to complete due to some weirdness that I don't understand.  Fix
debug statement (been doing C# dev).