Update file permissions for images