Writing grids only works for TIFs