Handle `is a directory` error

Closes #4616
Add a better error message when a directory cannot be written to.

Closes #4607
Nof
Specs for the eacces error
:lipstick:
Betta spec description
Merge pull request #4630 from atom/bo-better-save-notification

Better save notifications