Add a library for STL writing. Convert to using binary writer.