Fix issue #109 and revert the change to fix a problem with missing locks, and fix it properly
Handle an exception opening a file when looking for the uninstall problem