RF: fix WindowsError use for not-Windows