Fixes error with full page caching on long file paths

Same problem as https://github.com/concrete5/concrete5-5.7.0/pull/1169

This error is rare case because multibyte characters are not allowed to collection path in v5.6.x.