fix file regexes for unix