[GHC] #12213: Setting stdout to unbuffered causes us to switch to ascii output locale