ensure test runner cache names are valid filenames