Bail if logfile can't be opened or created.