working stat-all for osx