use newer libarchive API

This is available since 3.0.0