Upload and partition a JSON stream to AWS S3