Modified to support sending a content disposition to force
download instead of opening up in the browser.