reverting commit 0ef60b8 as xml_doc gets closed too

Conflicts:
	obspy/core/util/xmlwrapper.py