Change from $ to \' in auto-mode-alist

Using \' is better since it matches end of string rather than end of
line (which could occur in filenames, theoretically)