Add Mat method to dump to file in PETSc binary format
Add decorator for executing a function only on MPI rank zero