more error-handling

- path does not exist
- no permissions etc