Fixes #5058: add method to ensure lhs=rhs in files

Same here, please update to key${separator}value"