undo-files: move the undo cleanup code in the transaction module
Now that undo creation is gathered in the transaction module, let us move the code cleaning them up there too.
This will be useful to better clean previous undo files up before creating new
ones.
# name space package to host third party extensionsimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)