implementation with generic file API
implement eject_close_tray() and eject_toggle_tray() for Windows