fix bug in S3 utils

(->body not defined)