better logging when we can open a dir