Chern-Simons gauge theory as a string theory