Compatibility with older versions for IO::write (rb_io_bufwrite is
specific to ruby >= 1.9.3?) + symbols are VALUE not ID.