Fix (again) ResourceBannerTests failures on Windows

Fixes gh-2096