Scape backslashes to avoid Python error.