A fixed point approach to homological perturbation theory