[mac] mkdir/stat for macintosh (testing)