Use tempfile for ImageMagick diff file

READY

Eliminates a dependency on Rails when comparing images. (there are other Rails dependencies in the file for sure, but this allows images to be straight-up compared in a non-Rails project)