Use io/console on prior to 1.9.3 if it is aviable