clean up tmp dirs