Python 2/3 compatible download_model_binary.py