[generic] add support for relative URLs (Fixes #1308)
[youtube-dl] / bin /
drwxr-xr-x   ..
-rwxr-xr-x 91 youtube-dl