Unescaped filename in regex pattern causes test failure on Windows