Use uv_try_write on non-windows OSs