installer: redirect output to $LOG when regenerating the libc locales.