Krichever maps, Faà di Bruno polynomials, and cohomology in KP theory