Fix caching in localized strings saving

Fixes #49