fix for https://github.com/rg3/youtube-dl/issues/3034