sonar fix: resources handling in Zip.java