Windows: Improved device ejection code

Eject individual drives before trying to eject the device. Hopefully,
this fixes incomplete ejection with the Nook devices.