Use correct parameter name in error message.

The parameter is called `cron_file` but the error message uses `file` which is confusing.
Merge pull request #7954 from alimony/patch-3

cron module: Use correct parameter name in error message.