Fix file_regex for matching path on Windows