util: Add a strict directory_create_or_exist function.