incorporate directory split fix

 - from https://github.com/doctrine/cache/pull/16 into 2.3.0 version