Most simpler cases work, however using `overwrite()` and `writeln()` after `write()` may mix up data.