bugfix for s3 response text coming back instead of xml