Add tests for bytes and unicode path handling.
Fix scandir_python() on Windows under Python 3.x