Fix --log LOGFILE option

`--log /path/to/log` didn't work.