Rewrite module

- *Breaking change*: changed from an options object to only one argument which is a custom message
- Exits with exit code 77 (permission denied)
- Better error message
0.3.0