Use warnx, read_png_fd doesn't set errno.