Keep the trailing slash only for sequenced creates

Always keeping the trailing slash is not actually
what zookeeper does, so only keep it if we are potentially
making a sequenced node so that the sequenced nodes new
path is correct.