escape `\` characters for using ktest on windows