Fix panic in `cog predict` when predictor with string output type returns `None` (#1809)
* Add failing integration test for predictor that returns None
* Add passing integration test for non-string return type returning None
* Prevent cog predict from panicking when handling nil prediction output