change back to current working dir after running xppaut in tmp dir