Save snapshot to compare output with a reference snapshot

Related to issue https://github.com/asciidoc/asciidoc/issues/30