Chiral bosonization, determinants and the string partition function