Using rb_io_check_initialized rather than Check_Type

    This way FakeFS::File can be used without type errors.