Use own mktmpname method because Dir::Tmpname is >1.8.7 only.