Support exporting to binary format using -b / --binary flag

Closes #115.
Merge branch 'master' of github:elovalo/elovalo