• Fix file corruption bug when saving to directory repos.
