Replace backslash dir separators in Windows with dashes when determining an expected cache filename.