CollectDCrypto: make python3 compatible