[PATCH 08/12] change DIR* int g_autoptr(DIR) where appropriate