Comment 1 for bug 807536

Issue exists both on compression and decompression.

Root cause analysis: the problem is not in umask (umask only restricts permissions but doesn't extend them) but in FILE_MODE macro definition.