Adapted to p-archiver 2.8 and in-place filtering