Use "setnx" instead of "set .. NX".

To be compatible with redis 2.4.
v0.3.1