Update write_png.c

typos =/