mke2fs, libext2fs: fix bugs on windows am: bc237175f9
am: 40ee873515

Change-Id: Id72f44904c75548976ae3fff3af316146da70a83