Do correct escaping within sed