mask.c: Preserve existing escapes during pre-processing. See discussion in PR #776.