relate_by_iid does not accept unicode-formatted from_eid and to_eid, whereas create_entity in session needs unicode-formatted arguments.
This should be uniformized: perhaps, unicode should be required everywhere, in session as well as in all stores, in the whole API.