Only call chmod if perms > 0

Sometimes perms end up being 0 for some unknown reason.
Merge pull request #58 from manics/unzip_perms0

Only call chmod if perms > 0