[AwsS3] Unset the body when it's not a string, handles a case when the stream type is unknown which results in a resource being set as the cached contents.