Bug 30595 - many scripts want "tempfile" instead of "mktemp"

Summary: many scripts want "tempfile" instead of "mktemp"