use strmode from libarchive to reduce deps