Fix FromWindowsAttributes
Clean up file/directory handles after closing
Fix varargs mistake - type safety is for chumps