Backport of Ruby 1.9's Open3 methods, for use in Ruby 1.8. WWW: https://github.com/kindkid/open3_backport