fix MPWorks due to backward incompatibility in zopen introduced in pymatgen