windows:File::Stat#mode returns the mode of a File::Stat object
