Binary archive writing

Only a stub atm.