Commit tmp files