Move util fns into own bag
Move writeObject() to new objectDatabase bag
Add prototype write_tree() and test can write empty tree
Abstract asserting file has content