[ci skip] Merge pull request #5434 from xims/patch-3

Update Image_lib to avoid setting file permissions when not needed
1 file changed