Don't close libxml stream during sweep

It asserts if you try. PlainFile::sweep() etc. will close the FDs.
Fix wddx_deserialize() repo mode assertion

And a couple of other minor tweaks