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

...ers

Partially resolves https://github.com/owncloud/core/issues/10991 failure 2
Would make more sense in my opinion if `\OC\Files\Storage\MappedLocal::getId()` would do this.

@icewind1991