random seed after fork to avoid tmp file name clash