Cleaning up of tmp dirs in test scripts.