ytdown.py and xvdown.py: fix some bugs