Replace locales loading by a classic IO to try fix a weird bug which sometimes stop the locales loading