Merge branch 'bp/log-ref-write-fd-with-strbuf'