core::_read() needs error handling

https://github.com/wp-cli/wp-cli/blob/master/php/commands/core.php#L137-L140