Fix tests on Windows now that we replace . with _ in filenames.