Bug 1007797 - Save ctypes.winLastError to prevent WinFile.GetFileAttributes from clobbering it. r=yoric
Bug 1007797 - Fixup tests. r=yoric