add feature: file handler would create dir for log file if it doesn't exist