Refactor: Introduces a path for temp images.

Rather than repeating the string each time.
Also make it a File() so that it's easier to deal with.
Tests: Fixes what I believe is a bug in tests.

The tests fail if the 'temp' folder is not created.
Merge pull request #18 from cupcicm/master

Fixes what I believe is a small bug in tests.