On windows, os.listdir currently truncates paths longer than MAX_PATH due to using a fixed-size buffer. Patch allocates a buffer of needed size. It also replaces the forward slash appended to the path with a backslash since forward slashes don't work when using a raw path. There was also a potential crash if FindClose failed. Diff'ed against 2.4.3.