Correctly remove directories on un-install.

Closes #78.
Closes #251.