Fixes #544: escaping tabs erroneously in substitions

Fixes the case when "\t" is prepended with a backslash in the replace part of a substitution. If that is the case, "\t" it's not replaced with
the tab character.

Example:
s/textit/\\textit/g

fixes #544.