write-and-commit

Create file and commit atomically (60-75% faster than step-by-step)