Fix chmod on image.