Added formatting directives to fmt.Errorf calls

Without the directive the error string generated will contain a
placeholder for the extra values.
Merge pull request #132 from Wessie/fmt-directive

Added formatting directives to fmt.Errorf calls