Let's NOT mess with HEAD...
autosave
Do it the simple way.

Just building a blob and tree and commit worked but it left the rest of
the working copy all goofed up, so let's just lean on Dulwich to do the
work for us...