try to access and stat on given dir -- if not a dir, bail

fixes #23