tif_mosaic: bug fix. Wasn't writing data.