Allow scripts to set $out_fmt on their own.
Use the interpreter to figure out whether we're running on the command
line or from HTTP. Don't need CRON=true in cron jobs anymore.