change raw IO t binary instead of text