Scrubbed overuse of err := idiom.

From https://github.com/steveyen/gkvlite/issues/1 from Dustin
Sallings.  Code is still just as wide and hilly, but should be more
correct.