Order END hooks for cleanup

END hooks for test file cleanup must happen after Log4perl closes files, so it must be configured first.