Catch "Permission denied" error on OSX.

The traceback isn't terribly friendly to users. This commit catches the error
and advises users to use 'sudo'.
Fix error checking.
Merge branch 'master' into osx-fail-message

Conflicts:
	enstaller/main.py