Re: issue 284

A one-character change to make a duplicate in util.rb:fix-encoding rather than 
modifying the argument in-place. Prevents runtime error and crash due to an 
attempt to modify a frozen string.