mpi: Add an option to compress output blocks