Restore files permissions on unix like systems (linux, mac os x).
Fixed an issue when no path is given to Extract.
An error message "Unable to apply mode: 0xxx to file …" may appear from time to time and especially on small zip files.

This appear when the file is not yet fully written to disk while starting to process central directory entries
Merge pull request #1 from yves-del-medico/permissions

Restore files permissions on unix like systems (linux, mac os x).
Added retries on fs.chmod to avoid errors while restoring permissions.

WARNING: this is a temporary fix which uses synchronous methods.
The real synchro mechanism to implement is not yet understood.
Merge pull request #2 from yves-del-medico/permissions

Added retries on fs.chmod to avoid errors while restoring permissions.
Merge pull request #1 from yves-del-medico/permissions

Restore files permissions on unix like systems (linux, mac os x).