FileObject.Duplicate now uses Win32.CurrentProcessID helper function