message: Fixed an introduced bug in BPFileWriter
  To do:
  Fixed the behavior of the generated profiling.log (should be on by
  default)
diff: @@ -259,6 +259,8 @@ void BPFileWriter::Close(const int transportIndex)
  m_BP1Writer.Close(*m_Transports[transportIndex], m_IsFirstClose, false);
  }
  + if (m_BP1Writer.m_MetadataSet.Log.IsActive == true)
  + {
  bool allClose = true;
  for (auto &transport : m_Transports)
  {
  @@ -274,6 +276,7 @@ void BPFileWriter::Close(const int transportIndex)
  m_BP1Writer.DumpProfilingLogFile(m_Name, m_RankMPI, m_Transports);
  }
  }
  +}
  // PRIVATE FUNCTIONS
  void BPFileWriter::InitParameters()
  