Generate a new exports file instead of appending to the existing one.

I've squashed this bug before, not sure where it lives
that it keeps rearing it's head.

Ticket: #3650