GIT on ACID.  Use the fileystem from Python in a transactional, consistent way using Git.