Handle missing encoding in boilerplate checker.

Closes #3.
XXX is bad, TODO is fine.
Check for Waf configure method argument correctly.

Closes #4.