SWF-2241 : Fix temp dir location