Darwin filesystem support for spec and for metrics.

Add filesystem on darwin for spec and for metrics.