cannot use popen3 on ruby 1.8.2