Fix permissions on horizon conig and custom images.