Test for appending a frozen string
Duplicate strings to avoid frozen string modification
conditionally thaw strings
Merge pull request #39 from protobuf-ruby/bk-encode-frozen-string

force_encoding throws "Can't modify frozen String"