Make `puppet_file_contains` compatible with Puppet 3