Correct bug on RectilinearGrid binary output