set params after requests.session has been created
fix bug where contents not written, uploading with filename and trackline
detect errors in custom track upload