Fix old unix glob checking to match sql glob characters.