Port of classes from Squeak to allow Cuis Smalltalk to read and write text files in different encodings.