fix stat usage

Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1