Cache\FileStore::flush does nothing if the cache root directory doesn't exists
Merge pull request #6629 from arthurdarcet/patch-2

[4.2] Fixed FileStore::flush If The Cache Root Directory Doesn't Exist