Revert to the pre-v0.6.0 method of checking for file existence.
A change introduced in v0.6.0 caused the check to fail if the file
existed only in a shared repository and not locally on the requested
wiki.
This reduces the number of temporary folders and files created
during testing. Additionally, an actual JPEG is created for a couple
tests instead of using random text for the contents.