PTFM-18920 Check response code for uploaded parts before returning
PTFM-18920 Check response code for uploaded parts before returning

Summary:
I speculate that occasionally part upload requests would fail (perhaps
returning 5xx), but we would proceed anyway. These files would then be
stuck in the closing state.

Test Plan: not sure-- maybe run some scale tests using these bindings?

Reviewers: cjiang

Reviewed By: cjiang

Differential Revision: https://dnanexus.phacility.com/D1190

dnanexus/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,dnanexus/dx-toolkit