stupid wget cannot overwrite existing file

See this question: http://serverfault.com/q/171369
In short, if the file wget downloaded already exists, it will just
create a file with ".1", ".2" appended, and so forth. To overwrite,
the `-O` option must be used. This complicates the code, since the
function now needs two parameters.