Update with-current-dir scope of reinstallGhcLibrary.
Divide reinstall into remove and debi.
Add brackets.
Use brackets against outside exception handling case.