Use newErrorf instead of fmt.Sprintf and newError
Merge pull request #113 from GeertJohan/newErrorf

Use newErrorf instead of fmt.Sprintf and newError