Fix EZP-21883: Regression from ezp-21357 with images with utf-8 names