[Fix #738] Handle % string literals the same way as %q/Q literals