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

Since this takes an array, it's not setting *one* "key separator value". Let's rephrase this to: "Ensure that the file contains all pairs of "key separator value", with arbitrary separator between each key and it's value"