Don’t allow the root directory to be deleted.

Deleting the root dir can be dangerous (the .git dir will be deleted) and it triggers other bugs. This makes sure the root directory won't be deleted.

Closes #172 
Closes #118 
Related to http://discuss.atom.io/t/atom-deleted-all-my-work/10361