Simplify EncodedString conversions; fix ArgumentError raised from #split