Fix deprecated calls

Libarchive 3 changes compression to filter, and finish to free.
Merge pull request #116 from Timo6/libarchive

Fix deprecated calls