Git.pm: Use File::Temp->tempfile instead of ->new