use open3 in an attempt to play nice with jruby #15