Add back support for --endpoint-url option to s3