Ability to convert git object to files.

This adds a way to write a git object tree into the filesystem.