Prop278: Update cached_dir_t and related types to no longer assume single compresison method

Update the data-types for cached_dir_t to handle multiple available compression schemes.

See also: legacy/trac#21651 (moved)