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'.