When saving to dest, check if we get redirected, and use the new
location header to set the dest file name if we only provided a
target dir. Only save if dest not modified.
Merge pull request #2630 from sergevanginderachter/uri-redirect

URI module -- make it support HTTP 301, 302, 303, 304, 307