The old warnfile is now the new warning argument.