(PUP-1177) Use Puppet::FileSystem.chmod

Previously, the nagios spec test was using Ruby's File.chmod to set the
initial file mode, but checking the mode using Puppet's filesystem layer.

This commit ensures we use the filesystem layer when setting the initial
mode.