Fix to variable-length parts upload