Moving plugin stage

Moving `'render:post:page'` to be called after the page is rendered
to a string but before it's written to a file.

Also updating a broken test.