fixes #6435: Race Condition in filesystem cache on prepare directory structure
Merge branch 'hotfix/#6573-zend-cache-filesystem-race-conditions-fixes-for-#6435'

Close #6573
Close #6435