Change windows ruby object from rb_cIO to rb_cObject