Fix detection of the extension if the 'extractaudio' is given and improve the error...