Issue #106:  Correct a tendency of the plugin to leave temporary XML files lying around
that ended up in the nar archive. The change here rearranges the code to delete the temporary
XML rather than leave it around.

@dsho's was the original author of the change. IT's pass,
no wierd files.