Add missing files
Fixed reading/write cache files

All tests pass -- as well as `ogit clone`.