Allow a URL download to take a filename as an argument

Regression following rewrite, I think. Added tests and then made them
pass. Closes #74.