Added in 2.9
$tempfn
Returns a random filename.
Added in 3.9
$tempfn(dir)
Returns a random filename in the specified directory.
Parameters