Reverse the auto-mode-alist because an earlier regexp was matching.