add support for bytes_only option to XS wrapper