Adding more specific check on mktemp for tempfile lib