Hadrian: ar program fails with non English locale on Windows
On Windows with a French locale, "ar" command writes the following string in stdout "Création de l'archive whatever.a". It makes Hadrian crash with
hGetContents: invalid argument (invalid byte sequence).
For some reason Shake seems to read stdout even if it isn't used by the command:
-- hadrian/src/Hadrian/Builder/Ar.hs cmd [arPath] flagArgs ('@' : tmp) :: Action () -- this command crashes