Read and write an s3 object in resource with python - Windmill