Keep updated a file's contents based on the value of a consul key