use public method file_edited?

file_edited is not exposed in chef, so we have patched our rubygem-chef
package to expose this for now