I have the function below to upload file to S3 bucket. When I download the file back I receive the buffer in data.body. How can I convert the buffer to appropriate file?