-
Some zip implementations like .NET stdlib don't preserve unix permissions (at least by default) resulting in zip files with mode `0`. So instead of making files that can't be opened by anyone, this PR just doesn't change the permissions from default when attributes are `0` (which is not the same as `000` mode because attributes also should contain the file type)
cb74426e