Allow filename to be set

in send_document_from_url.
the default just uses everything after teh last / which can include auth parameters, which are undesired in a filename.