Note that `mktemp` returns the path, not a TempFile object.