Windows testing fixes
stat has no st_flags on Windows (maybe elsewhere?)
send ignored output to devnull

rather than PIPE, since Windows pipes can fill up.
py3k bytes, for crying out loud
s/os.path.sep/os.sep/
tweak stat walk in forbid_hidden