Compare the content of a file. Returns true if they are the same, false if they are not.
Set the content of the file, assuming it is not set correctly already.
if you are using a tempfile before creating, you must override the default with the tempfile, since the file at @new_resource.path will not be updated on converge
[Validate]