image info: create parent dir

If the project does not have any tests, target/test-classes will not be
be created during the normal build process.
Merge pull request #7 from spotify/dano/image-info-create-directory

image info: create parent dir