Tempfile::Tempfile() bug fix.
Tempfile test suite refactoring.