Fix StringField#encode to specify from/to encodings for ruby 2.0