Use IF_BUG_ONCE in buf_flush_to_tls()
See parent: the BUG() messages in this function caused dgoulet to run out of disk.