Adds support for maintaining file permissions when compressing and decompressing