A little more DRY on writing buffers to ststrings
Realized that buffer finalization will be needed in more places than depiction