[Sed] strip escape sequences from the replacement

Apparently re.sub understands them, which seems... bad