Fix exception in df-db under Python3
Fix exception in df-db under Python3

Exception is thrown when running df-db dump with Python3

Change-Id: I8b5b7715a429150f1e12277e066d24c8ea0039a3
Closes-Bug: #1808295

openstack/dragonflow,openstack/dragonflow,openstack/dragonflow