Bringing in Downloader code from old sdk.

It builds but GetFileContentUrl throws an exception. Need to fix this
still.