doexe/newins: mktemp for bug #484332