Fixed a bug with incorrectly finding directory for root .sgrep file.
Slightly better error handling using log.fatal.