1. Fix test failure with endpoint_url. 2. Replace deprecated smart_open.smart_open function with smart_open.open.
1. Fix test failure with endpoint_url.
2. Replace deprecated smart_open.smart_open function with smart_open.open.

visualfabriq/bqueryd