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