FileMode package:zip
The default permissions for the files, permissions not set on Windows,
and are set to rw on Unix. This mimics the behavior of the zip
utility.
Convert external attributes to the file info. The function assumes a
regular file and keeps DOS attributes untouched.
>>> fromFileMode 0o0755
2179792896
Convert external attributes to the file info.
>>> toFileMode 2179792896
0o0755