fixed error when log file doesn't exist

The script was reporting an error if the log file wasn't already present. Creating an empty file eliminated the error. I don't know much about Tcl, but with a couple of google searches, I was able to get this working.