suppress locale -a warnings on windows

need the '!' to throw exceptions, or else the rescue clause is
never run.
Merge pull request #2487 from opscode/lcg/fix-windows-warn

suppress locale -a warnings on windows