[mms_task_encode] Treat empty content type as no content type

This fixes the case if UI sends a large png file which needs to be resized AND we are using Qt to resize it AND file name has no extension AND content type is an empty string. This scenario didn't work before, now it does.