Add support for using MPI I/O to properly write logs from all nodes to a single shared log file.