[entities] cw 3.22: Binary is now a BytesIO (closes #10624160) [applied]