[BUGFIX] Prevent creation of too many directories for resources
Currently resource files are stored by splitting the ``SHA1`` hash
into chunks of 5 characters in order to prevent the creation of too
many files per directory (for performance reasons).
This has been implemented with the new "Multi-Storage / Multi-Target
Resource Management" (see Ia2b47b4070a2dfabf4833bf1f0f3967ba3b032a7).
The drawback of the current implementation is that it leads to the
creation of a directory per file which strains the file system, too.
With this change a persistent resource will no longer be stored in::
leading to a tremendously reduced amount of folders to be created.
This also adjusts the path of published resources from::
Note: This is only true, if the ``subdivideHashPathSegment`` is set
for the corresponding ``PublishingTarget``. Otherwise the path is not
Releases: master, 3.0