LPS-46168 Rollback 75dee1c1b7def4af885e094edddc6b760bd0d2d0

@mikemanyoung @jorgediaz-lr

When generating thumbnails for the uploaded images in document library the following error is on console:

```
5:00:52,691 ERROR [http-bio-8080-exec-96][DLPreviewableProcessor:985] com.liferay.portlet.documentlibrary.FileNameException: document_thumbnail/10187/45/13101/13102.jpg
com.liferay.portlet.documentlibrary.FileNameException: document_thumbnail/10187/45/13101/13102.jpg
    at com.liferay.portlet.documentlibrary.store.DLStoreImpl.validate(DLStoreImpl.java:622)
    at com.liferay.portlet.documentlibrary.store.DLStoreImpl.hasFile(DLStoreImpl.java:343)
    at com.liferay.portlet.documentlibrary.store.DLStoreUtil.hasFile(DLStoreUtil.java:544)
    at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.hasThumbnail(DLPreviewableProcessor.java:980)
    at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.hasThumbnails(DLPreviewableProcessor.java:994)
    at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.hasImages(ImageProcessorImpl.java:150)
    at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.hasImages(ImageProcessorUtil.java:149)
    at com.liferay.portlet.documentlibrary.util.DLImpl.getThumbnailSrc(DLImpl.java:980)
    at com.liferay.portlet.documentlibrary.util.DLUtil.getThumbnailSrc(DLUtil.java:310)
```