Update dfu-convert.py build util to support python 3.