fix timing file output (screen and file) when using MPI