archive state: make it work with bsdtar (for e.g: on the Mac OS X)
Merge pull request #9684 from quantonganh/fixed-archive-state-osx

archive state: make it work with bsdtar (for e.g: on the Mac OS X)