Use this method to restore unix permissions of a decoded file.
This method should be used right after the close method is called on the stream, right after decoding a file.
This method does nothing in encoding mode, and it does nothing if the stream has not been closed when in decoding mode.