license text in files and improve Repository.Save