Issue 293

Change all file and directory tests to use the temporary directory
(Path.GetTempPath) for all directories and files created or tested.
Also, make CF fixes to the tests where necessary.
What reason is that?