The trace of the fermion heat kernel in a constant field as a classical problem