Eleminate the use of mktemp

Assuming mktemp writes on disk, this also can be useful for read-only filesystem like nano BSD (some pfSense flash installs).
Some really small cosmetic too (maybe useless).