utils: create TASK_LOG_DIR if it doesn't exist