Fixed encoding issue with ruby 2.0
Merge pull request #14 from xaro/master

Encoding fix for ruby 2.0