Fix extracting of images.

After stepping into the working directory it was attempting
to find the original img file two directory back.