Set the temp directory on the device as well