Reset locale to default, fixes #1415