Fixed #22353 -- Make sure that CachedStaticFilesMixin doesn't use ...

...invalid cache entries instead hash the actual file.