Fix a bug when processing corupt PDFs
Include the filenames in the non-debugging output
Skip over invalid uids