fix for unarchive 8257
Merge pull request #8263 from bennojoy/unarchive_fix

fix for unarchive 8257