basic path sanity and recognition of images in the EPUB manifest