Fix offset tracking for escaped sequences.

An escaped newline (\n) was miscounted.