Make nestFlatTree() not reread file from disk

* Just puts in whatever content was in original
Make writeTree just use tree content (prob a hash)
Test that commit doesn't create commit on unstaged change