Make sure the grid dir exists