Write jobID to tmp file