Use system locale in collect_env.py (#22579)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/22570.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22579
Differential Revision: D16147304
Pulled By: soumith
fbshipit-source-id: db73447bffbfdf54f7b830447d4b9584f363f05f