This line is superfluous, the youtube-dl core can guess the extension better than that already.