Fix scanline ordering when saving EXR. Fixes #4.