git-svn: fix temp files leak from temp_acquire() misuse