fix "invalid multibyte escape" error in ruby 2.0.0