use a temporary file for git archive