(maint) Fix quotes

Prior to this commit, I had backticks on my facter call that would mess
up the script when running on master. This commit fixes that by changing
it to double quotes. This commit also fixes problems with ruby 1.8 and
using the Dir.mkdir command. It has been changes to FileUtils.