pandoc has a build script that does all the fixups the action does now. Let's refactor the action to just use that script.