GTNPC-108: properly call write(writer, true) from write(writer) per JSR-286 spec.