Fix exception on single part uploads
Fix on_complete callback never getting hit