Make wf_writeBufSize based on a multiple of WRITE_SIZE instead