I used your fix to get mine working… though the instrcution confused me a bit.
I found the line 493 and the code. I had to make this edit to get it to work.
$attachment = str_replace('myCDN-CNAME.r59.cf2.rackcdn.com', '/wp-content/uploads/', $attachment);
then it worked… thanks so much for the fix.