Use utf8 for external encoding in the ruby driver

Fixes Encoding::InvalidByteSequenceError while parsing apps.json
Merge pull request #314 from vzctl/fix-json-utf8

Use utf8 for external encoding in the ruby driver