download_hls: Don't assume baseurl is set

This is a proposed fix for #27. Make sure baseurl is set before using it.