Fix two security issues with libarchive. The first affects cpio and prevents directory traversal. The second is an integer signedness error