doins: use mktemp for private files, bug #484332
doexe/newins: mktemp for bug #484332