- added code to DwarfData.DwarfTree:writeTree() that removes directories for nodes no longer in the tree