Correct ffmpeg/avconv extensions for Windows (bug 1773)

On Windows systems the command-name includes the extension .exe
When reading the dictionary for the right command parameters we
have to remove the extension to find the correct entry

Also remove a false variable name (e instead of episode)