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.
Some tests will throw errors if files or directories with certain
names exist in the current working directory when pytest is run,
such as Example.jpg.