Looks like Ruby 1.8.7 doesn't have File.write in std lib, closes #2