Fix fix_encoding

* replace fix_encoding with fix_encoding! to mark the fact that this is a potentially destructive operation
* use a dup for the name, because it is a frozen string