Work around IO.popen4 no longer being shipped with JRuby as of JRuby 9k.