Clearer error messages for known error codes

This fixes messages like:
```
ERR! ol EISDIR
```

Providing the user with messages like this instead:
```
ERR! ol Trouble reading script.  Expected a file name, got a directory name instead: /Users/tschaub/projects/ol3/src/ol
```

I'll fix the underlying problem separately.