Replace explicit exit codes with script line number.