unitigs: add write back in buffered writer

Link: https://github.com/GeneAssembly/biosal/issues/652
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>