Add facter sample.
Fix file mode.