Check response code in `::_read()`

If WordPress.org returns a bad response, we want to know about it
Merge pull request #1389 from wp-cli/fix-1389

core::_read() needs error handling