Fixes #189: NPE in DictionaryValuesWriter.

Fixes #189