The solution turned out to be more complicated than I originally anticipated, which is why it is explained on a different (but related) Stack Overflow question. The solution given for Programmatically temporarily altering a Google Docs and then replacing with the pre-altered version also answers this question.
solved Export Google Doc **with** suggested changes to plain text