ensure log file exists