def temp_it(filename, data)
        ext = filename.split('.')
        file = Tempfile.new([filename, ".#{ext[1]}"]).tap do |f|
          f.rewind
          f.write(data)
          f.close
        end
        @temp_files[ext[0].to_sym] = file
        file.path
      end
def temp_it(filename, data)
        ext = filename.split('.')
        file = Tempfile.new([filename, ".#{ext[1]}"]).tap do |f|
          f.rewind
          f.write(data)
          f.close
        end
        @temp_files[ext[0].to_sym] = file
        file.path
      end
Create a temp file with config data

 Stores all temp files in @temp_files or self.temp_files
   In Hash with filename minus extension as the key.

 @param filename [String] the preferred name/identifier of the file
 @param data [Mixed] config data important to each lint or statistic
 @return [String] absolute path to new config file