binary string encoding change for ruby 2.0