handle error condition in s3.Exists