Small fix for icon generation for imagick

This should have been discovered much earlier.

Function readImageBlob() was being passed a filename, not the file contents.