fixes #10522 (partially)

Added access, copy, readdir, rmdir, truncate functions to win_file.py.

(search/replace was also bugreported in #10522, but requires something extra to work and is omitted in this commit)