Move the 'cachesave' plugin behind 'egress'

Right now this is necessary to ensure that the content-length header
is set correctly.