Handle case where cache file does not exist.

Kovid, if you could see your way clear to slipstream this change, it will save me, and perhaps you, a lot of trouble. My apologies yet again for a stupid mistake.