Fixed created files failing to open for Pandoc! under Windows

Should fix all issues related to issue #29.