Fix some import issues following refactor
Implement binary writes to vaultaire