Refactoring test.
Adding some tests for filenames with strange combinations of slashes.
Temping shares the file id when calling create with the same filename.
Creating the temping directory only when a file is created.
Adding setContents method.