extractor: Fix extraction of readonly folders
If archive contains read-only folders, the extraction of their children fails with the "Permissions denied" error. This is because the folder permissions are restored immediately before writing their children. Let's do not restore unix mode before writing the children to fix this issue.
Fixes: #10 (closed)