fix stat usage

Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
Merge branch 'cm-10.1' into martincz
Fix usage of stat vs statfs

Change-Id: Id59b79f079c587630f5f6ed0418a45f2b8cd99ff

Conflicts:
	nandroid.c
Merge branch 'cm-10.1' into martincz