Since the switch from *bytes.Buffer to io.Writer, errors can no longer be ignored. Also makes the reuse of GenBashCompletion in GenBashCompletionFile without a buffer treat errors properly again.
Also adds support for generating bash completions on writers other than just buffers. Found via github.com/mvdan/interfacer.