configurable setvbuf for checkpoint writes