s3util: automatically increase part size

This enables uploading any size object (up to the
Amazon-imposed maximum of 5TiB) while doing as
little buffering as possible for smaller objects.