Binary archive writing working

Better to put the internal names etc to the top of the file.