Git.pm: call tempfile from File::Temp as a regular function