pack-write.c: plug a leak in stage_tmp_packfiles()