fix examples and nontrivial uploads

 * fix bug where larger than 2KB uploads was broken.
   this is now covered in a test case.
 * fix both s3 and upload examples
 * add part.byteCount and part.byteOffset