Fix printing of Posterior table

It was printing complete table to a std::string.  This was leading
to memory doubling when used with very large datasets.