Minor change in Output cache file check

Won't change anything in practice, but robuster (and faster) if ever
a cache file would be invalid
1 file changed