remove magic header from libarchive