Fix puppetssh escaping on Ruby 1.9+

when invoking puppetrun via ssh spaces were escaped incorrectly