Temporary files support for testing.