do reinstall binaries if their hash is not the expected

Closes: #5759

For this to work, the bundle needs to call::
``python setup.py hash_binaries`` during the bundling process, so that
the right hash gets updated in the bitmask/_binaries.py file.
You should just open the file in a try/except, otherwise there's a possible race condition.