Modifying pdf_helper.rb tf.write HF process

:locals and :formats are not being utilized and causing key nil issues in ruby 2.0/rails 4.x with wkhtmltopdf 12.1, therefore they are being removed as they are unnecessary to the current process.