maybe_filename_from_url_host: handle possible exception