downdir in the config file is the download directory.

Also add getFileURL() in url.c, to be used in several places,
including perhaps the default download file name from a url,
so you don't have to type in
package-686-3.17.6-e27.rpm.gz
This routine is also used for debug prints in html.c,
and the w/ f/ feature at the editor.