Bonus (not required for this PR): consider parsing the [`Content-Disposition`](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) and get a filename from there, if one is given. (I believe web browsers do this when downloading a file.)