_OT_Lucre_Dumper::~_OT_Lucre_Dumper()
{
#ifdef _WIN32
#ifdef _DEBUG
    CleanupDumpFile(m_str_dumpfile.c_str());
#endif
#endif            
}
// Open-Transactions
// NOTE: review this in security audit...
// This is da2ce7's fix for the problems that appeared from removing
// Lucre from the OT source and linking it separately. (Without applink.c
// which causes cross-boundary issues with file handles.)
//
void SetDumper(const char *filepathexact)
{
// lets clear the last time we used this file.
    CleanupDumpFile(filepathexact);
    BIO *out = new BIO;
    out = BIO_new_file(filepathexact,"w");
    assert(out);
    SetDumper(out);
}