port preserve0permissions from core <zip>

git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/compress/trunk@807464 13f79535-47bb-0310-9956-ffa450edef68
5 files changed