Added TemporaryFile class

An easy way to get a temporary file.