Make the logfile directory if it does not exist