Better msg and ret code when folder not found

If diario folder is not available print a nicer error message and
returns 1

Signed-off-by: Joao Trindade <trindade.joao@gmail.com>
Merge pull request #1 from joninvski/master

Better msg and ret code when folder not found