[data loader] rework to return raw image instance. add mime type guesser.