Normalise paths before comparing them in assertArchiveEquals and assertArchiveNotEquals

Introduce a private function conform_dir for normalising paths.

Fixes issues on Windows.
Normalise slashes in paths

Skip the unwritable tests if the directory can't be made unwritable. See
#287