Avoid PHP notices when saving files with untranslatable strings

Fixes #8