Issue #61 build_upload_params destructively updates options