Improve SedTool's API and add 'follow redirects' into DownloadTool.

Is there a reason why to use nio instead of io?