Tweak error returns to work with older Go.

Fixes #14
Merge pull request #15 from cloudflare/alberts/issue14

Tweak error returns to work with older Go. Fixes #14