Force encoding utf-8 for ruby 1.9

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>