Fixed an introduced bug in BPFileWriter
Fixed an introduced bug in BPFileWriter

To do:
Fixed the behavior of the generated profiling.log (should be on by
default)

JasonRuonanWang/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2