Fix IO error if Pandoc not installed.