mildly sanitize network configuration files