Added example to TempDir

First attempt to contribute to rust (and using github). This commit adds a few examples to std::io::TempDir. The examples seem to look okay (in my browser) and make check also passes.
Thanks for looking out for our `/tmp` folders!

You can actually annotate the block with `no_run` so the code isn't actually run though in which case you can remove these as well.