io.nds: fixed arguments to __exit__ func
io.nds: fixed imports and minor bug fix
channels.core: use properties for attributes