Fixes #3881: pin locale to 2.0.9 or lower