also override tty? on IO for jruby