added example for writing binary file
switched to asciidoc