Fixed "invalid multibyte escape: /[\x80-\xFF]/" error in Ruby 2.0