When I checked the output file ( /tmp/foo ) from the previous command, I found this: -
-rwxr-xr-x 1 501 root 8626 May 10 2017 retrieving-long-data.html
-????????? ? ? ? ? ? :RJDIC00
-rwxr-xr-x 1 501 root 30678 May 10 2017 rollbase-30-white.jpg
-rwxr-xr-x 1 501 root 3298 May 10 2017 rollbase-30-white.png
Now the original image ( IS_V18.104.22.168_LINUX_X86_64_MULTI.tar.gz ) had actually been extracted on my Mac, and then shared via Shared Folders ( from VMware Fusion 10.1.1 ) and mounted to RHEL via this command: -
ls -al /tmp/is-suite/payloads/Shared/ODBCDrivers/payload/help/odbc | |grep -i RJD
Therefore, I can only assume that the combination of VMware Shared folders, the native RHEL vmhgfs-fuse and the strangely-named file led to the issue.