Commit current contents of files.