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>