write locale.conf file in postconfig module