mke2fs, libext2fs: fix bugs on windows am: bc237175f9 am: 8438955e8b
am: 660fd6d627

Change-Id: I4aba84408b080a9ea231550478ceea47a2ebea02