file: make uci commits atomic