error creating 7zip archives for directories without write permission

[bug #651494]