Fix unicode IO, now works