add dotfiles support

#492 with whitelist support
I prefer `#<<` in this case, since it modifies the array rather than creating a modified duplicate. Since `#all_files_and_dirs_in` is the method in which the array is constructed, modifying the array in-place is good.

It’s also more compact, and arguably easier to read.