Implement putc and clear out a bunch of unused RubyIO code.