set locale to fix python2 issues

This is pretty much a shot in the dark but I think it might solve the current CI failures.