Cache\FileStore::flush does nothing if the cache root directory doesn't ...

Trying to list the content of a non-existing directory raises an exception, with this patch calling flush doesn't fail even if the cache is completely empty.