option to write yuv reconstruction to file