Text this: Electric dipole moments in a leptoquark scenario for the B-physics anomalies