Enable viewing file packages as folder on macOS (#21925)