Apparently nobody has used these since the switch to py3, xrange is now range and it needs to read the file in binary mode when generating the sha256.