Fix stat command formatting