I've just worked out what I'd done wrong. I have an edited copy of the PM Classic exporter in my custom templates folder, but it was not properly renamed, so PM found two exporters with the same name, and used the custom one instead of the built-in one.