Fix Config.Set() error handling

Fixes #37