read yaml file from s3 python