[mms_task_encode] Append file extensions for known media types

Good for interoperability with non-Jolla phones. I don't have a specific example of an extension-related failure, but this change should reduce the probability of such a failure. I find it strange that Jolla UI drops the extension in the first place, but it does, so the engine has to deduce it from the content type.