Replace BufWrite with BufWritePost