setup tmp dir