fix stat usage

Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_bootable_recovery into cm-10.1