Making tempdir() context manager implementation a bit simpler