Avoided resource leak on zip file iteration