fix typo in S3Api to allow more than 1000 objects in a bucket to be listed