Proper I/O with MPI