FIX nasty memory issue in `writeformatted()`. FIX bug in UTF-8 reading.
Authored by: tin-pot 2014-02-14
Parent: [r19]
Child: [r21]