[CXF-5763] Make sure the stream is only closed once
[CXF-5753] Update to use the addChildElement calls that use qnames that don't "inherit" default namespaces and such.