Refactor(syncfile): split write_syncfile_header into functions; add HMAC skeleton
Refactor(syncfile): split write_syncfile_header into functions; add HMAC skeleton

- Prep for generating the HMACs

jmquigs/greycrypt,jmquigs/greycrypt