Do not reset system locale to C when running the command. Fixes #4543.