Return errors in writeRune, deleteRune, addLine