Disable automatic encoding in ruby