Fix typo in encodings stubs

Fixes #369.