use zmq.IPC_PATH_MAX_LEN constant

less code duplication
better language