Fix popen3 call syntax error in ruby 1.8