cleanup tmp dirs

And give the tmp dirs a common prefix to make it
easier to cleanup if need be.