Test fix for ruby 1.8.7\nAdded .path to the test temfile. I read somewhere that Tempfile doesn't automatically do string coercion when passed as an argument to File.