BF: fixing script test error on windows

Backslashes from the filename in the test were confusing the regexp;
test filename for equality and the rest using regexp.