Fixes #2714 - corrected IO#popen parameter on ruby 1.8.7
(cherry picked from commit 61394852e191756fc5eea0a92d581cf1dca39f21)
Release 1.2.0