Fix warning on shadowed variable when creating zip file