Fix bug on Windows where ${CHECKFILE_ABS_PATH} was used inside a regex.
When this happened on Windows we would substitute in a path containing
"\" which would be interpreted as a regex escape which would break
parsing of the regex.