Parse large remote responses correctly

When response comes from remote pinto server it doesn't nessesarily have to
be split by new lines. Original code didn't expect that and server adds newlines
in odd places for commands that return large responses (like 'list').

This patch fixes this behaviour.