(catopen): Correctly allocate string of nlspath.