Fix EZP-23390: Expose method to extract mimetype info on cluster files

I think you're right, it does look like a mistake in the Legacy IO handler. I've checked what is provided when creating images, and it is indeed the whole mimetype.