Workaround h5py/MPI issue.

Ref: https://github.com/h5py/h5py/issues/439
Merge pull request #492 from hashdist/ahmadia/fix_h5py

Workaround h5py/MPI issue.