added handling for pypdf2 exception when reading metadata