Committing Abhi's fix for chunked uploads.