go: improved error handling found by fuzzing