Add a menu item for writing out a commit to a file.