Bosonization in arbitrary genus