Wrapped the libpng io to use our custom logging.