add some auto-mode-alist magic. Fixes #6.