Fix changing encoding on shared ByteList