self-diagnostics, create diagnostics directory if not exists