use g_mkdir()

we had our own compat stuff, use the g_() one instead