use g_mkdir()

instead of our own compat thing

see https://github.com/jcupitt/nip2/issues/35

thanks Benjamin