s_expressions-printers-pretty: add an assert on final cursor position after writing quoted strings