Revert "use systemd localectl to find list of locales"

This reverts commit 8464227970e5156b6bb39c784fb6b6346acfb44c.
Revert "comment out direct writing of locale.conf"

This reverts commit a6fd292851b2a1355d7f5df8e2b7ea585636b6d9.