always write utf8 encoded version of input for pandoc (sets up for filtering)