9a720a87c8
A file in a zip can set arbitrary unix permissions, but we, like pip, want to preserve only the executable bit and otherwise use the OS defaults. This should be faster for wheels with many files since we now avoid the blocking fs call to set the permissions in most cases. Fixes #1740.