add dotfiles support

#492 with whitelist support
that's surprising, will have to report a bug for ruby