Fixed permission issues when installing themes.