If you have been testing Community Kit SharePoint: Enhanced blog Edition you may have found that, once enabled you cannot edit files in the master page gallery. You get this error:

Vince has posted a patch on the CKS site. Worked for me!