core: media identify by 'file' command of .mp3 files might tell they are wav files.
Correct the detected mime type by checking the file's extension.