fixes for future parser - mode must now be a string

without this, a deprecation warning is output

Warning: Non-string values for the file mode property are deprecated. It must be a string, either a symbolic mode like 'o+w,a+r' or an octal representation like '0644' or '755'.
   (at /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet/type/file/mode.rb:69:in `block (2 levels) in <module:Puppet>')