I'm guessing we need some more tests in `ResourceUtilsTest`, both for the windows side of things and for regression tests for any other parts that are changing. Or does `ResourceUtilsTest` already cover those cases touched by this code?