Update the l10n script to better report errors.