Fixed Stream on Ruby 1.8