Error out if the parent directory for the log file doesn't exist