Fix usage of stat vs statfs

Change-Id: Id59b79f079c587630f5f6ed0418a45f2b8cd99ff

Conflicts:
	nandroid.c
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1