Fix tmp dir path