py3. Fix TypeError when collected config convert to binary.

13 jobs for !3104 with noc-1213 in 13 minutes and 56 seconds (queued for 3 seconds)
merge request