Make finding libarchive required
Don't use static buffer for writing