Windows: Handle ERROR_DIRECTORY in std.fs.deleteDirAbsolute when called on a file path

ERROR_DIRECTORY (267) is returned from kernel32.RemoveDirectoryW if the path is not a directory. Note also that os.DirectDirError already includes NotDir

Before: error.Unexpected: GetLastError(267): The directory name is invalid.
After: error: NotDir
95a5f6bf2dRyan Liptak committed on 6/5/2020, 2:52:53 AM· committed by Andrew Kelleyparentf7b6957
1 file changedLine totals unavailable