writing .s3cfg file