Strip newlines from configuration value