bert encoder: use Blob+ArrayBuffer so safari correctly encodes it