[YoutubeDL] Fix string check for python3