raise Pdfinfo::CommandFailed when command returns non zero exit code