Double check the file exists before deleting in File cache adapter.

Fixes #1014
Merge pull request #1015 from blainesch/bug/race

Double check the file exists before deleting in File cache adapter.