Fixed a small bug in MultiPart upload