pyldb: Raise proper exception when attempting to assign a string to a dn