fixes for py3k compatibility
mget and msetnx commands added