Avoid saving empty strings in configuration file.