Cleaned up the dirs with brackets test a bit, and skip it on Windows since it doesn't allow slashes in file names.