Path integrals and non-Markov processes. III. Calculation of the escape-rate prefactor in the weak-noise limit.