fixes #17 : Create the logs directory if not exists.