Added spec for flatten_zip behaviour when set to false. Updated ZipDirectory to use ternary as recommended by AnthonyMastrean