Resolves cache tests failing if the directory length is longer than 64
Merge pull request #11142 from owncloud/fix-windows

Resolves cache tests failing if the directory length is longer than 64