Fix EZP-23390: IOService loads whole file to get mime type

Does not affect Legacy using DFS as it sets it from meta data, however all other handlers are affected.
Depends on https://github.com/ezsystems/ezpublish-legacy/pull/1082 (merged)