update to work with pandoc >= 1.10

The Header type was changed in pandoc 1.10 to include an Attr type in the constructor.