Support dotfiles when reading directories