fix for BatchMain (set base temp directory to /tmp)