revert a couple of UTF-8 read/write changes to conserve backward compatibility

Revert UTF-8 read/write changes for backward compatibility.  (See issue #68.)