Change tmp path to global tmp dir