Fix bug in Python 3.5 Windows is_dir/is_file due to mode_t being wrong type.
Allow test_scandir to test all versions of scandir (not quite working yet).