Reduced fork of the LibArchive/Ruby gem