Output writing in Worker is working now.

* XmlExportable.cs: Fixed bug.