easier readability of Pdfinfo#parse_shell_response

Personally I think this is an implementation of `#parse_shell_response` that easier to read and understand.