Remove File.write call in tests to satisfy Ruby 1.9.1