http://ruby-doc.org/stdlib-1.9.2/libdoc/tempfile/rdoc/Tempfile.html