Homotopy Invariance of Contour Integrals